import { IsString, MaxLength, IsNumber, IsBoolean } from 'class-validator';

export class UpdateAuthorityDTO {
  @IsString()
  readonly id: string;

  @IsString()
  @MaxLength(100)
  readonly description: string;

  @IsBoolean()
  readonly isSystem: boolean;

  readonly path: string;
}
